package com.xky.example_student.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "学生信息管理")
@TableName("student")
public class Student {
    @TableId(type = IdType.AUTO)
    private Integer id;
    
    @TableField("stu_id")
    private String stuId;
    
    @TableField("stu_name")
    private String stuName;
    
    @TableField("stu_age")
    private Integer stuAge;
    
    @TableField("stu_grade")
    private String stuGrade;
    
    @TableField("stu_demp")
    private String stuDemp;
    
    @TableField("stu_class")
    private String stuClass;
    
    @TableField("stu_school_name")
    private String stuSchoolName;
    
    @TableField("stu_phone")
    private String stuPhone;
    
    @TableField("stu_email")
    private String stuEmail;
    
    @TableField("stu_address")
    private String stuAddress;
    
    @TableField("status")
    private String status;
    
    @TableField("approval_comment")
    private String approvalComment;
    
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    @TableField("can_edit_profile")
    private Boolean canEditProfile;
}



